<template>
	<view class="container">
		<view class="prom-box">
			<image 
				@click="routerGo('/packageShop/pages/activity/GoodsGroup/index')"
				src="https://res.jiyaqi.com/mall/jita/2022/7/7/640fb1ddc829c021d5ab04cd012799b.png" 
				style="height: 209rpx;width: 348rpx;"></image>
			<image @click="routerGo('/packageShop/pages/activity/GoodsBargain/index')" 
				src="https://res.jiyaqi.com/mall/jita/2022/7/7/22273199bd10abd95ed1bde0621988b.png" 
				style="height: 209rpx;width: 348rpx;"></image>
		</view>
	</view>
</template>

<script>
	export default {
	  name: 'GoodsCard',
	  props: {
		  goodsInfo: {
		  	type: Object
		  }
	  },
	  data: function() {
	    return {}
	  },
	  methods: {
		onLoad(){
		},
	    routerGo(url) {
	      this.$yrouter.push({
	        path: url
	      })
	    },
	  },
	  mounted() {},
	}
</script>


<style lang="scss">
	.container{background-color: #ffffff;padding:20rpx 0 20rpx 0;}
	.prom-box{margin:0 20rpx;display:flex;justify-content: space-between;}
</style>